import axios from 'axios'

export default defineEventHandler(async (event) => {
    try {
        let res: any = await axios.get('~/assets/vod/top250.json')
        return {
            code: 200,
            data: res.data
        }
    } catch (e) {
        console.log(e)
        return {
            code: 500,
            msg: 'error',
        }
    }
})